package com.zwx.aray.sigLianBiao;

/**
 * @author 文希
 * @create 2019-06-01 22:02
 */
public class Node {

    private int val;

    private Node next;

    public int getVal() {
        return val;
    }

    public void setVal(int val) {
        this.val = val;
    }

    public Node getNext() {
        return next;
    }

    public void setNext(Node next) {
        this.next = next;
    }

    public Node(int val, Node next) {
        this.val = val;
        this.next = next;
    }

    public Node() {
    }
}
